home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
examples.arc
/
EXAMPL19.PRO
< prev
next >
Wrap
Text File
|
1986-10-07
|
295b
|
17 lines
/* Program 19 */
/*
The goal to enter is on page 70 of the manual.
*/
domains
integerlist = integer*
namelist = symbol*
predicates
writelist(integerlist)
writelist(namelist).
clauses
writelist([]).
writelist([H|T]) :- write(H," "), writelist(T).